package com.spongebob.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spongebob.dao.SessionMapper;
import com.spongebob.pojo.Session;
import com.spongebob.service.SessionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 会话表 服务实现类
 * </p>
 *
 * @author tutu
 * @since 2021-03-16
 */
@Service
public class SessionServiceImpl extends ServiceImpl<SessionMapper, Session> implements SessionService {

    @Autowired
    private SessionMapper sessionMapper;

    @Override
    public Session selectSessionById(Integer sessionId) {
        return sessionMapper.selectSessionById(sessionId);
    }
}
